<?php

namespace App\Http\Controllers\Api;

use App\Models\HomeConfig;

class BannerConfigsController extends Controller
{
    public function index()
    {
        $home_configs = HomeConfig::query()->get(['id', 'type', 'mp4_or_image']);

        return $this->success($home_configs);
    }
}
